<template>
  <el-dialog
    title="在线绘图"
    :visible.sync="dialogVisible"
    fullscreen
    :before-close="handleClose"
    >在线绘图</el-dialog
  >
</template>

<script>
export default {
  data() {
    return {
      dialogVisible: true,
    };
  },
  methods: {
    handleClose() {
      this.dialogVisible = !this.dialogVisible;
      console.log("close dialog");
    },
  },
};
</script>

<style></style>
